<template>
  <div>
    <div class="build-box">
      <div class="build-fenlei">
        <span style="color: #ff6262; font-size: 14px">*</span>
        <span style="color: #cccccc" id="build-lx">工单分类</span>
        <div class="build-select">
          <my-select :width="324" :items="item"></my-select>
        </div>
      </div>

      <div class="build-title">
        <span style="color: #ff6262; font-size: 14px">*</span>
        <span style="color: #cccccc" id="build-title-lx">工单标题</span>
        <div >
          <my-input ph="请输入工单标题" ></my-input>
        </div>
      </div>

      <div class="build-miao">
        <span style="color: #ff6262; font-size: 14px">*</span>
        <span style="color: #cccccc" id="build-miao-lx">工单描述</span>
        <div class="build-textarea">
          <my-textarea :rows="6" :width="325" ph="请输入工单描述"></my-textarea>
        </div>
      </div>

      <div class="build-fujian">
        <span style="color: rgb(0, 110, 255)"
          >📎添加附件(最多上传5个附件，单个文件最大20M)</span
        >
      </div>

      <div class="build-copy">
        <span style="color: #cccccc">抄送人</span>
        <div class="build-copy-people">
          <my-select :width="325" :items="item1"></my-select>
        </div>
      </div>

      <div class="build-choose">
        <span style="color: #cccccc">优先级</span>
        <div class="build-choose-rank">
          <el-radio v-model="radio" label="1">低</el-radio>
          <el-radio v-model="radio" label="2">中</el-radio>
          <el-radio v-model="radio" label="3">高</el-radio>
          <el-radio v-model="radio" label="4">紧急</el-radio>
        </div>
      </div>

      <div class="build-status">
        <span style="color: #cccccc">工单状态</span>
        <div class="build-kefu-gongdan">
          <my-select :width="325" :items="item2"></my-select>
        </div>
      </div>

      <div class="build-group">
        <span style="color: #cccccc">受理客服组</span>
        <div class="build-kefu-group">
          <my-select :width="325" :items="item3"></my-select>
        </div>
      </div>

      <div class="build-handle">
        <span style="color: #cccccc">受理客服</span>
        <div class="build-kefu-handle">
          <my-select :width="325" :items="item4"></my-select>
        </div>
      </div>

      <div class="build-belong">
        <span style="color: #cccccc">所属客服</span>
        <div class="build-kefu-belong">
          <my-select :width="325" :items="item5"></my-select>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import MySelect from "@/components/MyInput/MySelect";
import MyTextarea from "@/components/MyInput/MyTextarea";
import MyInput from '@/components/MyInput/MyInput'

export default {
  components: {
    MySelect,
    MyTextarea,
    MyInput
  },
  data() {
    return {
      radio: "1",
      item: [
        {
          label: "分类一",
          value: "0",
        },
        {
          label: "分类二",
          value: "1",
        },
        {
          label: "分类三",
          value: "2",
        },
      ],

      item1: [
        {
          label: "王美美",
          value: "0",
        },
        {
          label: "七尾",
          value: "1",
        },
        {
          label: "李想",
          value: "2",
        },
      ],

      item2: [
        {
          label: "未分配",
          value: "0",
        },
        {
          label: "待处理",
          value: "1",
        },
        {
          label: "处理中",
          value: "2",
        },
        {
          label: "已解决",
          value: "3",
        },
        {
          label: "已关闭",
          value: "4",
        },
      ],

      item3: [
        {
          label: "客服组一",
          vlaue: "0",
        },
        {
          label: "客服组二",
          vlaue: "1",
        },
        {
          label: "客服组三",
          vlaue: "2",
        },
      ],

      item4: [
        {
          label: "王美美",
          value: "0",
        },
        {
          label: "七尾",
          value: "1",
        },
        {
          label: "李想",
          value: "2",
        },
      ],

      item5: [
        {
          label: "王美美",
          vlaue: "0",
        },
        {
          label: "七尾",
          vlaue: "0",
        },
        {
          label: "李想",
          vlaue: "0",
        },
      ],
    };
  },
};
</script>

<style>
.build-box {
  width: 450px;
  height: 600px;

  background-color: #fff;

  border-radius: 5px;
}
.build-gongdan {
  width: 100%;
  height: 45px;

  font-family: PingFangSC-Regular, "PingFang SC", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;

  line-height: 55px;
}

.build-fenlei {
  width: 320px;
  height: 40px;

  text-align: left;
  line-height: 45px;

  margin-left: 20px;
  margin-bottom: 20px;
}
.build-fenlei #build-lx {
  font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
  font-weight: 400;
  font-size: 14px;
}
.build-select {
  margin-top: -45px;
  margin-left: 135px;
}

.build-title {
  width: 100%;
  height: 40px;

  text-align: left;
  line-height: 40px;

  margin-left: 20px;
  margin-bottom: 20px;
}
.build-title input {
  width: 310px;
  height: 40px;
  background-color: rgb(242, 242, 242);

  margin-left: 73px;

  border: none;
  /* border-radius: 3px; */
  outline-color: rgba(0, 110, 255, 0.898039215686275);
}
.build-title #build-title-lx {
  font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
  font-weight: 400;
  font-size: 14px;
}
.build-miao {
  width: 100%;
  height: 40px;

  text-align: left;
  line-height: 40px;

  margin-left: 20px;
}
.build-miao #build-miao-lx {
  font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
  font-weight: 400;
  font-size: 14px;
}
.build-textarea {
  margin-top: -30px;
  margin-left: 134px;
}
.build-fujian {
  width: 100%;
  height: 20px;

  font-family: "PingFangHK-Regular", "PingFang HK", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  text-align: left;

  margin-top: 120px;
  margin-left: 20px;
  margin-bottom: 15px;
}
.build-copy {
  width: 100%;
  height: 40px;

  font-family: PingFangSC-Regular, "PingFang SC", sans-serif;
  font-weight: 400;
  font-size: 14px;

  text-align: left;
  line-height: 40px;

  margin-left: 20px;
  margin-bottom: 20px;
}
.build-copy span {
  font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
  font-weight: 400;
  font-size: 14px;
}
.build-copy-people {
  margin-left: 134px;
  margin-top: -42px;
}
.build-choose {
  width: 100%;
  height: 30px;

  margin-left: 20px;
  margin-bottom: 20px;
}
.build-choose span {
  font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
  font-weight: 400;
  font-size: 14px;
}
.build-choose-rank {
  margin-top: -20px;
  margin-left: 133px;
}
.build-status {
  width: 100%;
  height: 40px;

  text-align: left;
  line-height: 40px;

  margin-left: 20px;
}
.build-kefu-gongdan {
  margin-left: 134px;
  margin-top: -47px;
}
.build-status span {
  font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
  font-weight: 400;
  font-size: 14px;
}
.build-group {
  width: 100%;
  height: 40px;

  text-align: left;
  line-height: 40px;

  margin-top: 20px;
  margin-left: 20px;
  margin-bottom: 20px;
}
.build-kefu-group {
  margin-top: -41px;
  margin-left: 134px;
}
.build-group span {
  font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
  font-weight: 400;
  font-size: 14px;
}
.build-handle {
  width: 100%;
  height: 40px;

  text-align: left;
  line-height: 40px;

  margin-left: 20px;
  margin-bottom: 20px;
}
.build-kefu-handle {
  margin-top: -40px;
  margin-left: 134px;
}
.build-handle span {
  font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
  font-weight: 400;
  font-size: 14px;
}
.build-belong {
  width: 100%;
  height: 40px;

  text-align: left;
  line-height: 40px;

  margin-left: 20px;
}
.build-kefu-belong {
  margin-left: 134px;
  margin-top: -41px;
}
.build-belong span {
  font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
  font-weight: 400;
  font-size: 14px;
}
</style>